package org.fast.develop.logicflow;

import lombok.extern.slf4j.Slf4j;
import org.fast.develop.logicflow.runtime.task.delegate.DelegateTask;
import org.fast.develop.logicflow.runtime.task.delegate.TaskListener;

@Slf4j
public class TestTaskListener implements TaskListener {


    @Override
    public void notify(DelegateTask delegateTask) {

        log.info("name:{}", delegateTask.getResourceProperties());
        log.info("testTaskListener的变量:{}", delegateTask.getVariableInstances());
    }
}
